Intersoft WebInput Documentation
Walkthrough: Linking two WebInput for date range selection
See Also Send Feedback
Intersoft WebInput > What's New in V4.0 > Linked Data Input > Walkthrough: Linking two WebInput for date range selection

Glossary Item Box

This walkthrough shows you how to link WebInput for date range selection.

During this walkthrough, you will learn how to do the following:

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • Visual Studio 2008 Application.

 Step-By-Step Instructions

To create linked input

  1. Walkthrough: Creating masked DateTime input using Wizard (Create two WebInput control that are using masked DateTime Input).
  2. Assume that the 1st WebInput's ID is WebInput1 and the 2nd one is WebInput2.
  3. Right-click on WebInput1 control and choose Properties.
  4. In Properties box, expand DateTimeEditor.
  5. Set IsEnabled to True in order to activate the DateTimeEditor feature.
  6. Set DateInputLink to ctl00_content_WebInput2. (This is the client id of WebInput2).
  7. Save and run the project. WebInput will automatically assign the linked WebInput control as the end date which should have greater value then the start date.

See Also